package com.dg.cuckoo.admin.repository;

import com.dg.cuckoo.admin.dto.basicInformation.organization.OrganizationDto;
import com.dg.cuckoo.core.BaseRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrganizationRepository extends BaseRepository<OrganizationDto,String> {

    List<OrganizationDto> findOrganizationDtosByUserId(String userId);

    List<OrganizationDto> findOrganizationDtosByUnit(String unit);


}
